package com.awcall.iot.service;

import com.awcall.iot.common.Tree;
import com.awcall.iot.model.Authority;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author wuhui
 * @since 2018-03-05
 */
public interface IAuthorityService extends IService<Authority> {

    Page<Authority> findPage(String title, Page<Authority> page);

    List<Tree> findAuthorityTree(Integer roleId);

    List<Tree> findAuthorityTree();

}
